<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>
        {% if title %}
            {{ title }}-- micro_blog
        {% else %}}
            micro_blog
        {% endif %}


    </title>
</head>
<body>
<div>Micro_blog: <a href="/index">Home</a></div>

 <hr>
    {% with messages = get_flashed_messages() %}
    {% if messages %}
    <ul>
    {% for message in messages %}
        <li>{{ message }} </li>
    {% endfor %}
    </ul>
    {% endif %}
    {% endwith %}
{% block content %}
{% endblock %}

</body>
</html>